<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.viewerCommon</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        Module&nbsp;viewerCommon
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.viewerCommon-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module viewerCommon</h1><p class="nomargin-top"><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html">source&nbsp;code</a></span></p>
<p>provides the bitmap OpenGL panel for Priithon's ND 
  2d-section-viewer</p>
  <p>common base class for single-color and multi-color version</p>

<hr />
<div class="fields">      <p><strong>Author:</strong>
        Sebastian Haase &lt;seb.haase+Priithon@gmail.com&gt;
      </p>
      <p><strong>License:</strong>
        BSD license - see LICENSE file
      </p>
</div><!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon.GLViewerCommon-class.html" class="summary-name">GLViewerCommon</a>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="myGL_PixelTransfer"></a><span class="summary-sig-name">myGL_PixelTransfer</span>(<span class="summary-sig-arg">colMap</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#myGL_PixelTransfer">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cm_HSV2RGB"></a><span class="summary-sig-name">cm_HSV2RGB</span>(<span class="summary-sig-arg">h</span>,
        <span class="summary-sig-arg">s</span>,
        <span class="summary-sig-arg">v</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_HSV2RGB">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_log" class="summary-sig-name">cm_log</a>(<span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;log&quot;-colormap</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_log">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_grayMinMax" class="summary-sig-name">cm_grayMinMax</a>(<span class="summary-sig-arg">minCol</span>=<span class="summary-sig-default"><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>255<code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">maxCol</span>=<span class="summary-sig-default"><code class="variable-group">(</code>255<code class="variable-op">, </code>0<code class="variable-op">, </code>0<code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;GrayMinMax&quot;-colormap</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_grayMinMax">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_readColor" class="summary-sig-name">cm_readColor</a>(<span class="summary-sig-arg">c</span>)</span><br />
      returns RGB tuple (ndarray!) each value between 0..1 
`c` can be a string like &quot;r:g:b&quot;-string like &quot;0:0:122&quot; (r,g,b in 0..255)
        or a string like &quot;r,g,b&quot;-string
        or a len-3-string like &quot;rgb&quot;-string like F8F    (optionally a starting'#')
        or a len-6-string like &quot;rgb&quot;-string like FF80FF (optionally a starting'#')
        or a string of a pre-defined color-name (ref.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_readColor">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_calcDiscreteCM" class="summary-sig-name">cm_calcDiscreteCM</a>(<span class="summary-sig-arg">colseq</span>=<span class="summary-sig-default"><code class="variable-group">{</code>30<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">, </code>80<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-group">}</code></span>,
        <span class="summary-sig-arg">refMaxVal</span>=<span class="summary-sig-default">100</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      calculates a colormap of length `n` - r,g,b are between 0..1
starting with black (0,0,0)
`colseq`: dictionary of color steps.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_calcDiscreteCM">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_calcSmoothCM" class="summary-sig-name">cm_calcSmoothCM</a>(<span class="summary-sig-arg">colseq</span>=<span class="summary-sig-default"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkgreen</code><code class="variable-quote">'</code><code class="variable-group">]</code></span>,
        <span class="summary-sig-arg">reverse</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      calculates a colormap of length `n` - r,g,b are between 0..1
return colormap created from list-of-colorNames
       instead of a color-name a &quot;r:g:b&quot;-string like &quot;0:0:122&quot;
       you can use predefined name-lists, they start &quot;cms_&quot;
           like cms_redgreen</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_calcSmoothCM">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_grey" class="summary-sig-name">cm_grey</a>(<span class="summary-sig-arg">reverse</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;grey&quot;-colormap (made using 
      cm_calcSmoothCM(cms_grey))</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_grey">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_col" class="summary-sig-name">cm_col</a>(<span class="summary-sig-arg">reverse</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;spectrum3&quot;-colormap</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_col">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_blackbody" class="summary-sig-name">cm_blackbody</a>(<span class="summary-sig-arg">reverse</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;blackbody&quot;-colormap</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_blackbody">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_wheel" class="summary-sig-name">cm_wheel</a>(<span class="summary-sig-arg">cycles</span>=<span class="summary-sig-default">1</span>,
        <span class="summary-sig-arg">blackZero</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;cycling-HSV-colors&quot;-colormap
     (red-green-blue-red)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_wheel">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon-module.html#cm_gray" class="summary-sig-name">cm_gray</a>(<span class="summary-sig-arg">gamma</span>=<span class="summary-sig-default">1</span>,
        <span class="summary-sig-arg">n</span>=<span class="summary-sig-default">256</span>)</span><br />
      return &quot;gray&quot;-colormap, respective a gamma value...</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_gray">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="bugXiGraphics"></a><span class="summary-name">bugXiGraphics</span> = <code title="0">0</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Zoom2x"></a><span class="summary-name">Menu_Zoom2x</span> = <code title="102">102</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_ZoomCenter"></a><span class="summary-name">Menu_ZoomCenter</span> = <code title="103">103</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Zoom_5x"></a><span class="summary-name">Menu_Zoom_5x</span> = <code title="104">104</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_ZoomReset"></a><span class="summary-name">Menu_ZoomReset</span> = <code title="105">105</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Zoom1"></a><span class="summary-name">Menu_Zoom1</span> = <code title="106">106</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_ZoomOut"></a><span class="summary-name">Menu_ZoomOut</span> = <code title="107">107</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_ZoomIn"></a><span class="summary-name">Menu_ZoomIn</span> = <code title="108">108</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Color"></a><span class="summary-name">Menu_Color</span> = <code title="109">109</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Reload"></a><span class="summary-name">Menu_Reload</span> = <code title="110">110</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_chgOrig"></a><span class="summary-name">Menu_chgOrig</span> = <code title="111">111</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Save"></a><span class="summary-name">Menu_Save</span> = <code title="112">112</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_SaveScrShot"></a><span class="summary-name">Menu_SaveScrShot</span> = <code title="113">113</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_SaveClipboard"></a><span class="summary-name">Menu_SaveClipboard</span> = <code title="114">114</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_Assign"></a><span class="summary-name">Menu_Assign</span> = <code title="115">115</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_noGfx"></a><span class="summary-name">Menu_noGfx</span> = <code title="116">116</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_aspectRatio"></a><span class="summary-name">Menu_aspectRatio</span> = <code title="117">117</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_rotate"></a><span class="summary-name">Menu_rotate</span> = <code title="118">118</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_grid"></a><span class="summary-name">Menu_grid</span> = <code title="119">119</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="Menu_ColMap"></a><span class="summary-name">Menu_ColMap</span> = <code title="[120, 121, 122, 123, 124, 125, 126, 127]"><code class="variable-group">[</code>120<code class="variable-op">, </code>121<code class="variable-op">, </code>122<code class="variable-op">, </code>123<code class="variable-op">, </code>124<code class="variable-op">, </code>125<code class="variable-op">, </code>126<code class="variable-op">, </code>127<code class="variable-group">]</code></code><br />
      screen_max_x, screen_max_y = wx.DisplaySize() screen_max_x, 
      screen_max_y = screen_max_x-1, screen_max_y-1
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_colnames_255" class="summary-name">cms_colnames_255</a> = <code title="{'black': (0, 0, 0),
 'blue': (0, 0, 255),
 'cyan': (0, 255, 255),
 'darkblue': (0, 0, 128),
 'darkgreen': (0, 128, 0),
 'darkred': (128, 0, 0),
 'gray': (128, 128, 128),
 'green': (0, 255, 0),
..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>0<code class="variable-group">)</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>255<code class="variable-group">)</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_colnames_simple_wikipedia_org_List_of_colors" class="summary-name">cms_colnames_simple_wikipedia_org_List_of_colors</a> = <code title="'''Amaranth\t#E52B50
Amber\t#FFBF00
Aquamarine\t#7FFFD4
Azure\t#007FFF
Beige\t#F5F5DC
Black\t#000000
Blue\t#0000FF
Blue-green\t#0095B6
..."><code class="variable-quote">'</code><code class="variable-string">Amaranth\t</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_colnames" class="summary-name">cms_colnames</a> = <code title="{'amaranth': array([ 0.89803922,  0.16862745,  0.31372549]),
 'amber': array([ 1.        ,  0.74901961,  0.        ]),
 'aquamarine': array([ 0.49803922,  1.        ,  0.83137255]),
 'azure': array([ 0.        ,  0.49803922,  1.        ]),
 'beige': array([ 0.96078431,  0.96078431,  0.8627451 ]),
 'black': array([ 0.,  0.,  0.]),
 'blue': array([ 0.,  0.,  1.]),
 'bluegreen': array([ 0.        ,  0.58431373,  0.71372549]),
..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">amaranth</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.89803922,  0.16862745,  <code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cms_grey"></a><span class="summary-name">cms_grey</span> = <code title="['black', 'white']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">white</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_spectrum" class="summary-name">cms_spectrum</a> = <code title="['darkred',
 'red',
 'orange',
 'yellow',
 'green',
 'blue',
 'darkblue',
 'violet']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">yellow</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">,</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cms_blackbody"></a><span class="summary-name">cms_blackbody</span> = <code title="['black', 'darkred', 'orange', 'yellow', 'white']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">yellow</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">white</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cms_redgreen"></a><span class="summary-name">cms_redgreen</span> = <code title="['red', 'darkred', 'black', 'darkgreen', 'green']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkgreen</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cms_greenred"></a><span class="summary-name">cms_greenred</span> = <code title="['green', 'darkgreen', 'black', 'darkred', 'red']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkgreen</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cms_twocolorarray"></a><span class="summary-name">cms_twocolorarray</span> = <code title="['green', 'yellow', 'red']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">yellow</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_spectrum2" class="summary-name">cms_spectrum2</a> = <code title="['darkred',
 'red',
 'orange',
 '255:255:0',
 'green',
 'cyan',
 'blue',
 'darkblue',
..."><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">255:255:0</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">gre</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_spectrum3" class="summary-name">cms_spectrum3</a> = <code title="['darkred',
 'red',
 'orange',
 '255:255:0',
 'green',
 'cyan',
 'blue',
 'darkblue',
..."><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">255:255:0</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">gre</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon-module.html#cms_spectrum4" class="summary-name">cms_spectrum4</a> = <code title="['black',
 'darkred',
 'red',
 'orange',
 '255:255:0',
 'green',
 'cyan',
 'blue',
..."><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">255:255</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_col_regex"></a><span class="summary-name">_col_regex</span> = <code title="re.compile(r'(\d+)[:,](\d+)[:,](\d+)')">re.compile(r'<code class="re-group">(</code>\d<code class="re-op">+</code><code class="re-group">)</code><code class="re-group">[</code>:,<code class="re-group">]</code><code class="re-group">(</code>\d<code class="re-op">+</code><code class="re-group">)</code><code class="re-group">[</code>:,<code class="re-group">]</code><code class="re-group">(</code>\d<code class="re-op">+</code><code class="re-group">)</code>')</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="i"></a><span class="summary-name">i</span> = <code title="7">7</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="x"></a><span class="summary-name">x</span> = <code title="'00'"><code class="variable-quote">'</code><code class="variable-string">00</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="cm_log"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_log</span>(<span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_log">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>return &quot;log&quot;-colormap</p>
  <p>shape 3,n</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_grayMinMax"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_grayMinMax</span>(<span class="sig-arg">minCol</span>=<span class="sig-default"><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>255<code class="variable-group">)</code></span>,
        <span class="sig-arg">maxCol</span>=<span class="sig-default"><code class="variable-group">(</code>255<code class="variable-op">, </code>0<code class="variable-op">, </code>0<code class="variable-group">)</code></span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_grayMinMax">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>return &quot;GrayMinMax&quot;-colormap</p>
  <p>shape 3,n</p>
  <p>1.) set col map to gray, 2.) set first entry to minCol, last entry to 
  maxCol</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_readColor"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_readColor</span>(<span class="sig-arg">c</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_readColor">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

returns RGB tuple (ndarray!) each value between 0..1 
`c` can be a string like &quot;r:g:b&quot;-string like &quot;0:0:122&quot; (r,g,b in 0..255)
        or a string like &quot;r,g,b&quot;-string
        or a len-3-string like &quot;rgb&quot;-string like F8F    (optionally a starting'#')
        or a len-6-string like &quot;rgb&quot;-string like FF80FF (optionally a starting'#')
        or a string of a pre-defined color-name (ref. `cms_colnames`)
        or a RGB tuple  r,b,b in 0..255  (r,g,b in 0..255)
     (strings are case-INsesitive, '-' and spaces is ignored)

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_calcDiscreteCM"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_calcDiscreteCM</span>(<span class="sig-arg">colseq</span>=<span class="sig-default"><code class="variable-group">{</code>30<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">, </code>80<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-group">}</code></span>,
        <span class="sig-arg">refMaxVal</span>=<span class="sig-default">100</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_calcDiscreteCM">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

calculates a colormap of length `n` - r,g,b are between 0..1
starting with black (0,0,0)
`colseq`: dictionary of color steps. a color step is defined as (value, color) pair
          color can be anything understood by `cm_readColor()` 
              (colname-string, &quot;r:g:b&quot;-string, &quot;ff80ff&quot;, 3-tuple, ...)
`refMaxVal`: defines the heighest level the values compared against
             e.g. if `refMaxVal`=100 the values are in &quot;percent&quot;
                  the 100% level refers to to the last (`n-1`) colmap entry,

transitions are discrete
returns array of shape 3,n

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_calcSmoothCM"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_calcSmoothCM</span>(<span class="sig-arg">colseq</span>=<span class="sig-default"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">darkgreen</code><code class="variable-quote">'</code><code class="variable-group">]</code></span>,
        <span class="sig-arg">reverse</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_calcSmoothCM">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

calculates a colormap of length `n` - r,g,b are between 0..1
return colormap created from list-of-colorNames
       instead of a color-name a &quot;r:g:b&quot;-string like &quot;0:0:122&quot;
       you can use predefined name-lists, they start &quot;cms_&quot;
           like cms_redgreen

transitions are linearly smooth
returns array of shape 3,n

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_grey"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_grey</span>(<span class="sig-arg">reverse</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_grey">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>return &quot;grey&quot;-colormap (made using 
  cm_calcSmoothCM(cms_grey))</p>
  <p>shape 3,n</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_col"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_col</span>(<span class="sig-arg">reverse</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_col">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>return &quot;spectrum3&quot;-colormap</p>
  <p>shape 3,n</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_blackbody"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_blackbody</span>(<span class="sig-arg">reverse</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_blackbody">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>return &quot;blackbody&quot;-colormap</p>
  <p>shape 3,n</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_wheel"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_wheel</span>(<span class="sig-arg">cycles</span>=<span class="sig-default">1</span>,
        <span class="sig-arg">blackZero</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_wheel">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

return &quot;cycling-HSV-colors&quot;-colormap
     (red-green-blue-red)

shape 3,n

if `blackZero` is True:
     set first entry (&quot;background&quot;) to zero
`blackZero` is None: 
     do blackZero if cycles==1

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="cm_gray"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cm_gray</span>(<span class="sig-arg">gamma</span>=<span class="sig-default">1</span>,
        <span class="sig-arg">n</span>=<span class="sig-default">256</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#cm_gray">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

return &quot;gray&quot;-colormap, respective a gamma value
    (cm_calcSmoothCM() is not used, but N.linspace() (for gamma==1))
shape 3,n

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="cms_colnames_255"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_colnames_255</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>0<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>255<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">cyan</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>255<code class="variable-op">, </code>255<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkblue</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>0<code class="variable-op">, </code>128<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkgreen</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>128<code class="variable-op">, </code>0<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>128<code class="variable-op">, </code>0<code class="variable-op">, </code>0<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">gray</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>128<code class="variable-op">, </code>128<code class="variable-op">, </code>128<code class="variable-group">)</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">(</code>0<code class="variable-op">, </code>255<code class="variable-op">, </code>0<code class="variable-group">)</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="cms_colnames_simple_wikipedia_org_List_of_colors"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_colnames_simple_wikipedia_org_List_of_colors</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'''</code><code class="variable-string">Amaranth\t#E52B50</code>
<code class="variable-string">Amber\t#FFBF00</code>
<code class="variable-string">Aquamarine\t#7FFFD4</code>
<code class="variable-string">Azure\t#007FFF</code>
<code class="variable-string">Beige\t#F5F5DC</code>
<code class="variable-string">Black\t#000000</code>
<code class="variable-string">Blue\t#0000FF</code>
<code class="variable-string">Blue-green\t#0095B6</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="cms_colnames"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_colnames</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">amaranth</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.89803922,  0.16862745,  0.31372549])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">amber</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 1.        ,  0.74901961,  0.        ])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">aquamarine</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.49803922,  1.        ,  0.83137255])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">azure</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.        ,  0.49803922,  1.        ])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">beige</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.96078431,  0.96078431,  0.8627451 ])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.,  0.,  0.])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.,  0.,  1.])<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">bluegreen</code><code class="variable-quote">'</code><code class="variable-op">: </code>array([ 0.        ,  0.58431373,  0.71372549])<code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="cms_spectrum"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_spectrum</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">yellow</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkblue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">violet</code><code class="variable-quote">'</code><code class="variable-group">]</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="cms_spectrum2"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_spectrum2</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">255:255:0</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">cyan</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkblue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="cms_spectrum3"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_spectrum3</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">255:255:0</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">cyan</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkblue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="cms_spectrum4"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">cms_spectrum4</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">black</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">darkred</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">red</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">orange</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">255:255:0</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">green</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">cyan</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">blue</code><code class="variable-quote">'</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:33 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
